package org.tang.schoolproject.service;

import cn.dev33.satoken.util.SaResult;
import com.baomidou.mybatisplus.extension.service.IService;
import org.tang.schoolproject.entitys.LoginUser;
import org.tang.schoolproject.entitys.User;

import java.util.Map;


public interface UserService extends IService<User> {
    public SaResult login(LoginUser user);
    public SaResult saveUser(User user);
    public SaResult selectUser(Long id);
    public SaResult updateUser(User user);
    public SaResult deleteUser(Long id);
    public SaResult pageUser(Integer pageNum, Integer pageSize, Map<String, Object> searchMap);
}
